package com.car.mapper;

import com.car.entity.Cartypetable;
import com.car.vo.CartypetableVo;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CartypetableMapper {
	
    List<CartypetableVo> Brandinfo(@Param("order") int i,@Param("minprice") double minprice,@Param("maxprice") double maxprice,@Param("carType") String carType,@Param("brand") String brandName);

	int deleteByPrimaryKey(String carType);

    int insert(Cartypetable record);

    Cartypetable selectByPrimaryKey(String carType);

    List<Cartypetable> selectAll();

    int updateByPrimaryKey(Cartypetable record);
    
    Cartypetable selectTheRent(int carId);
    
    List<Cartypetable> selectRentAll();
    
    Cartypetable selectRentId(int cartypeId);
    
    int  updataRent (Cartypetable cartypetable);
}